package com.lidong.zc.databasemodel.constants.database;

/**
 * 字符集
 *
 * @author LiDong
 * @version 1.0.0
 * @createTime 9/8/2022 9:07 PM
 */
public enum CharacterSetEnum {

    UTF_8(1, "UTF_8"),
    GBK(2, "GBK");

    private int flag;
    private String code;

    CharacterSetEnum(Integer flag, String code) {
        this.flag = flag;
        this.code = code;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
